package org.aptech.hdax.easybuy.dao;

import java.io.Serializable;
import java.util.List;

public interface CommonDao<E, PK extends Serializable>{
    public void add(E entity);
    public void delete(PK id);
    public void batchDelete(PK[] ids);
    public E get(PK id);
    public void update(E entity);
    public List<E> findAll(E condition);
}
